import { notification } from 'ant-design-vue' // 引入

notification.config({ //写配置//一些参数你也可以配置到动态的，看个人需要
    placement: 'topRight',
    top: '50px',
    duration: 3,
});

function AntNotice(type, Tit, Cont) {
    notification[type]({
        message: Tit,
        description: Cont,
    })
}

export default { //页面返回
    AntNotice,
}